﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using IHISCETeim.BLL;
using IHISCETeim.Library;
using IHISCETeim.Model;
using System.Data;

namespace IHISCETeim.Web.MachineSys.UserModel
{
    public partial class UAgentMacStockListCheckReportDetail : PageBase
    {
       

        #region 属性 (查询条件)

       
        protected override int numPerPage
        {
            get
            {
                return 200;
            }
        }

        protected string AgentName
        {
            get
            {
                return GetRequestValue<string>("AgentName");

            }
        }
        protected string FromDate
        {
            get
            {
                return GetRequestValue<string>("FromDate");

            }
        }
        protected string EndDate
        {
            get
            {
                return GetRequestValue<string>("EndDate");

            }
        }

        #endregion

        protected void Page_Load(object sender, EventArgs e)
        {
            DataBind();
        }

        protected void DataBind()
        {
            DataTableCollection dts=UAgentMacStockController.UAgentMacStockDetail_GetAllCheckList(AgentName, FromDate, EndDate);

            this.rpMenu1.DataSource = dts[0];
            this.rpMenu1.DataBind();

            this.rpMenu2.DataSource = dts[1];
            this.rpMenu2.DataBind();

            this.rpMenu3.DataSource = dts[2];
            this.rpMenu3.DataBind();
        }
        protected override Permission[] PowerKey
        {
            get
            {
                return new Permission[] { Permission.查看 };
            }
        }
        protected override string DWZRef
        {
            get { return "UAgentMacStockListCheckReport"; }
        }
    }
}